package com.genius.smsservice.majormanage.service.impl;

import com.genius.smsbase.Service.impl.GenericManagerImpl;
import com.genius.smsdao.majormanage.dao.MajorDao;
import com.genius.smsdao.majormanage.domain.Major;
import com.genius.smsservice.majormanage.service.MajorManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


/**
 * @ClassName MajorManagerImpl
 * @Description MajorManager实现类
 * @author：
 */
@Component
public class MajorManagerImpl extends GenericManagerImpl<Major,Long> implements MajorManager {

    MajorDao majorDao;

    @Autowired
    public void setMajorDao(MajorDao majorDao) {
        this.majorDao = majorDao;
        this.dao = this.majorDao;
    }
}
